package io.gitee.zhangbinhub.admin.resource.server

import com.fasterxml.jackson.databind.ObjectMapper
import io.gitee.zhangbinhub.admin.resource.server.tools.TokenUserTools
import org.springframework.boot.autoconfigure.AutoConfiguration
import org.springframework.context.annotation.Bean

@AutoConfiguration
class AcpAdminResourceServerComponentAutoConfiguration {
    @Bean
    fun tokenUserTools(objectMapper: ObjectMapper): TokenUserTools =
        TokenUserTools(objectMapper)
}